package sessionBeans;

import java.util.List;
import javax.ejb.Local;
import entityBeans.Message;
import entityBeans.User;

/**
 *
 * @author user
 */
@Local
public interface MessageFacadeLocal {

    void sendMessage(Message message, User user);

    Message find(Object id);

    List<Message> findAll();

    List<Message> findRange(int[] range);

    int count();
    
}